package com.ruoyi.lhky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.lhky.pojo.Group;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface GroupMapper extends BaseMapper<Group> {

    @Select("SELECT id, name FROM `group` WHERE id = #{groupId}")
    Group selectById(Long groupId);
}
